project(vvxfconf-query)
#AM_CPPFLAGS = \
#	-I$(top_srcdir) \
#	-DG_LOG_DOMAIN=\"xfconf-query\" \
#	-DDATADIR=\"$(datadir)\" \
#	-DSRCDIR=\"$(top_srcdir)\" \
#	-DLOCALEDIR=\"$(localedir)\" \
#	$(PLATFORM_CPPFLAGS)
#
#bin_PROGRAMS = xfconf-query
#
#xfconf_query_SOURCES = \
#	main.c
#
add_executable(${PROJECT_NAME}
        main.c
)

set(deps)
if (${IS_ALONE_COMPILE})
    list(APPEND deps )
    list(APPEND deps PkgConfig::GLIB)
    list(APPEND dpes PkgConfig::GIO_UNIX)
    list(APPEND deps PkgConfig::XFCE4_UTIL)
else()
    list(APPEND deps glib-shared)
    list(APPEND deps libxfce4util-shared)
endif()

target_link_libraries(${PROJECT_NAME}
        PRIVATE
        vvxfconf-0
)
target_compile_definitions(${PROJECT_NAME}
        PRIVATE
        GETTEXT_PACKAGE="1"
        LOCALEDIR="1"
        PACKAGE_VERSION="1"
        PACKAGE_BUGREPORT="1"
        DG_LOG_DOMAIN="xfconf-query"
        # DATADIR="$(datadir)"
        # SRCDIR="$(top_srcdir)"
        # LOCALEDIR="$(localedir)"
)

#xfconf_query_CFLAGS = \
#	$(GLIB_CFLAGS) \
#	$(LIBXFCE4UTIL_CFLAGS) \
#	$(GIO_UNIX_CFLAGS) \
#	$(PLATFORM_CFLAGS)
#
#xfconf_query_LDFLAGS = \
#	$(PLATFORM_LDFLAGS)
#
#xfconf_query_LDADD = \
#	$(top_builddir)/common/libxfconf-gvaluefuncs.la \
#	$(top_builddir)/xfconf/libxfconf-0.la \
#	$(GLIB_LIBS) \
#	$(LIBXFCE4UTIL_LIBS) \
#	$(GIO_UNIX_LIBS)
